<template>
    <div class="recommend">
        <div class="recommendItem" v-for="item in recommend" :key="item.sort">
            <a :href="item.link">
                <img :src="item.image" alt="">
                <div>{{item.title}}</div>
            </a>
        </div>
    </div>
</template>

<script>
export default {
    props:{
        recommend:{
            type:Array
        }
    },
    data () {
        return {
            
        }
    }
};
</script>

<style lang="less" scoped>
.recommend{
    display: flex;
    text-align: center;
    margin-bottom: 20px;
       .recommendItem{
       flex: 1;
       margin-top: 5px;
       img{
           width: 85%;

       }
   }
}

</style>

